package com.jqsoft.launcher.xml;//package cn.com.bphs.mpah.xml;
//
//import java.io.BufferedReader;
//import java.io.InputStream;
//import java.io.InputStreamReader;
//
//import org.apache.http.HttpEntity;
//import org.apache.http.HttpResponse;
//import org.apache.http.client.HttpClient;
//import org.apache.http.client.methods.HttpPost;
//
//import cn.com.bphs.mpah.activity.JQActivity;
//import cn.com.bphs.mpah.util.HttpClientTools;
//import cn.com.bphs.mpah.util.Log;
//
//
//public class BphsXMLParser {
//	private static String tag = "cn.com.bphs.mpah.xml.MBankXMLParser";
//
////   gujunqi  常用的请求获得结果
//	public static String queryMessage(String url, JQActivity ctx) {
//		Log.i(tag, "URL:" + url);
//		HttpPost httpost = new HttpPost(url);
//		HttpClient httpclient = HttpClientTools.getHttpsClient();
//		StringBuffer sb = new StringBuffer("\n");
//		try {
//			HttpResponse response = httpclient.execute(httpost);
//			HttpEntity entity = response.getEntity();
//			InputStream in = entity.getContent();
//			BufferedReader br = new BufferedReader(new InputStreamReader(in));
//			String tempStr;
//			while ((tempStr = br.readLine()) != null) {// 一行一行的读取
//				sb.append(tempStr).append("\n");
//			}
//		} catch (Throwable e) {
//			Log.e(tag, url + ",查询失败." + e.getMessage());
//			e.printStackTrace();
//			return "";
//		}
//		String responseStr = sb.toString();
//		Log.d(tag, responseStr);
//		return responseStr;
//	}
//
//}
